package com.um.swing;

import java.util.concurrent.Executor;
import java.util.concurrent.Executors;

/**
 * 名称：线程池
 * 创建人：袁泉
 * 创建时间：2022年04月30日17:57:57
 */
public class ThreadPool {
    public static Executor pool = Executors.newCachedThreadPool();

    public static void execute(Runnable r) {
        pool.execute(r);
    }

}
